package cn.tedu.boyou.search.service;

import cn.tedu.boyou.search.query.SearchQueryObject;
import cn.tedu.boyou.search.template.TravelTemplate;
import org.springframework.data.domain.Page;

public interface ITravelSearchService {
    void createIndex();

    void save(TravelTemplate travelTemplate);

    /**
     * 分页查询
     * @param qo
     * @return
     */
    Page<TravelTemplate> query(SearchQueryObject qo);
}